import request from '@/utils/request'

export const getOrderListService = (data) => {
  return request({
    url: '/api/order',
    method: 'post',
    data
  })
}

export const allocateOrderService = (id) =>
  request.put("/api/order/"+id)

